package org.example.bookshelf_manager.enums;


/**
 * @ClassName ResultStatus
 * @Description
 * @Author ZJX
 * @Date 2024/8/31 17:26
 * @Version 1.0
 */
public enum ResultStatus {

    SUCCESS(200),
     FAIL(-1),
     NOLOGIN(-2),
    ;


    private int code;

    ResultStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
